
<div class='c-box-600 c-box-left headline'>
		
			
			<ul id="headline-image-list">
				<li  class='headline-image'> 
			<?PHP
            
			$ctr = 1;
			foreach($h1 as $x)
         {
  				$image=ap($x['image']);
							
				if($ctr==1)
	         {

			?>
			 	<img class="active"  src="<?php echo $image;?>" width='620' height='285'>
				
				
				<?PHP
				}			
            else
	         {    
            ?>
	         	<img  src="<?php echo $image;?>" width='620' height='285'>
				<?PHP			
				}
    			  $ctr++;				  
			}
			?>
			</li>
		</ul>

<div class='headline-info-holder'>	
				  		
		<div class='headline-text-list'>	
			    <ul id="text-list"> 
				  <?php
				  $ctr = 1;
				  	foreach($h1 as $x)
					{
						$thumb=	ap($x['thumb']);
						
						 if($ctr==1){
							if($conf->qm[1]==18 || $home){
						 ?>

								<li class='active_text'><a href='<?PHP echo $x["post_type"]?>/<?PHP echo $x["id"];?>/<?PHP echo csq($x["title"]);?>' class="c-box-latest-link" ><h1><?php echo $x['title'] ?></h1><?php echo strip_tags($x['secondary']); ?> <span class="headline-link">Read More</span></a></li>
							
							<?php
							}		
							else
							{?>
								<li class='active_text'><a href='play/<?PHP echo $x["id"];?>/<?PHP echo csq($x["title"]);?>' class="popoutplayer c-box-latest-link" ><h1><?php echo $x['title'] ?></h1><?php echo strip_tags($x['secondary']); ?> <span class="headline-link">Play</span></a></li>

							<?php
							}
						}
							else{
							if($conf->qm[1]==18 || $home)
							{
							?>
								<li><a href='<?PHP echo $x["post_type"]?>/<?PHP echo $x["id"];?>/<?PHP echo csq($x["title"]);?>' class="c-box-latest-link" ><h1><?php echo $x['title'] ?></h1><?php echo strip_tags($x['secondary']); ?> <span class="headline-link">Read More</span></a></li>
							<?php
							}
							else
							{?>
							<li>
								<a href='play/<?PHP echo $x["id"];?>/<?PHP echo csq($x["title"]);?>' class="popoutplayer c-box-latest-link" >
									<h1><?php echo $x['title'] ?></h1>
									<?php echo strip_tags($x['secondary']); ?> 
									<span class="headline-link">Play</span>
								</a>
							</li>
							<?php
							}
							}
					$ctr++;	 
					}	
					
					$item_count = $ctr;
					        ?>
								
					</ul>
			 
			 	
				</div>
				
			                   <div id="headline-nav">
			                   	 <ul id="flashbox_indicators">
			                   	 	<?php
			                   	 	 for($i=1;$i<$item_count;$i++){
			                   	     $id = 	$i."fbx";
			                   	 	 if($i==1){
			                   	 	 ?>
									<li id="<?php echo $id; ?>" class="active_square"></p>
									<?php
								      }
								      else
									  {
									  	?>
									  	<li id="<?php echo $id; ?>"></p>
									 <?php
								     }
							        }
									?>
								 </ul>
				                </div>
				                   
			    
			</div>

</div>


